<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0084)http://cncsaoviet.dyndns.info/PMNhanSu/Human/EmpList.aspx?notleft=true&FunctionID=14 -->
<html xmlns="http://www.w3.org/1999/xhtml"><head id="ctl00_Head1"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>
	Phần mềm nhân sự, quản lý nhân sự online, chấm công, tính lương trên Web, phan mem nhan su SV.HRIS
</title><meta name="description" content="Phần mềm nhân sự, quản lý nhân sự, chấm công, tính lương trên Web, nhân sự online, phan mem nhan su SV.HRIS, download phần mềm nhân sự miễn phí"><meta name="keywords" content="Phần mềm nhân sự SV.HRIS, quản lý nhân sự, chấm công, tính lương trên Web, nhân sự online,phan mem nhan su SV.HRIS, download phần mềm nhân sự miễn phí"><meta id="ctl00_robots" name="robots" content="INDEX, FOLLOW"><meta name="google-site-verification" content="zr1m2s2JW3MSynLmd-3vyURgZ2Bmod_Fp8Z88ShRN7c"><meta name="google-site-verification" content="vB1Y2l1QLPmkhW3SwFRoSmf6ujba-tF4lGr7TzgX-xY"><meta name="y_key" content="4a6d0f8f225aa826">

    <script src="cb=gapi.loaded_0" async=""></script><script type="text/javascript" src="plusone.js" gapi_processed="true">
        { lang: 'vi' }
    </script>

    <link href="myStyles.css" rel="stylesheet" type="text/css"><link href="general.css" rel="stylesheet" type="text/css">  
    <script type="text/javascript">
        window.onload = show;
        function show(id) {
            var d = document.getElementById(id);
            for (var i = 1; i <= 10; i++) {
                if (document.getElementById('smenu' + i)) { document.getElementById('smenu' + i).style.display = 'none'; }
            }
            if (d) { d.style.display = 'inline'; }
        }

</script>
    <script language="javascript" type="text/javascript">
    		
		var DSAlert = new Array(2);
			var iTotal=0;
			DSAlert[0] = new Array(0);
			DSAlert[1] = new Array(0);
						

        var languageCode = 'vn';	
    </script>
 
    <script language="javascript" src="common(1).js" type="text/javascript"></script>
    <script language="javascript" src="MyLibrary.js" type="text/javascript"></script>
     <script language="javascript" src="CheckDate.js" type="text/javascript"></script>
        <script language="javascript" src="jquerybt.min.js" type="text/javascript"></script>

     <link type="text/css" rel="stylesheet" href="dhtmlgoodies_calendar.css" media="screen">
     <script language="javascript" src="dhtmlgoodies_calendar.js" type="text/javascript"></script>
        
    
    </head>
<body>
    <form name="aspnetForm" method="post" action="EmpList(1).htm" id="aspnetForm">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTEyNTMzMTg3MzgPZBYCZg9kFgICAw9kFgQCBQ9kFhJmDw8WAh4EVGV4dGVkZAIBD2QWCmYPDxYCHwAFBk3DoyBOVmRkAgIPDxYCHwAFB1TDqm4gTlZkZAIEDw8WAh8ABQ1Uw6xuaCB0cuG6oW5nZGQCBQ8QZA8WA2YCAQICFgMFCsSQYW5nIGzDoG0FDU5naOG7iSB2aeG7h2MFClThuqV0IGPhuqNkZAILD2QWAmYPZBYEAgEPDxYCHwAFDENo4buNbiBwLmJhbmRkAgMPDxYCHwAFHlBNIFNBTyBWSeG7hlQgLSBQaMOybmcgc+G7kSAxMGRkAgIPDxYCHwAFC1TDrG0ga2nhur9tZGQCAw8PFgIfAAUGSW1wb3J0FgIeB29uY2xpY2sFHXJldHVybiBTaG93RXhjZWxTZWxlY3RQYWdlKCk7ZAIEDw8WAh8ABQZFeHBvcnRkZAIFD2QWDgIBDw8WAh8ABQtEw7JuZy90cmFuZ2RkAgUPDxYCHwAFClPhu5EgaMOgbmdkZAIHDw8WAh8ABQEyZGQCCQ8QDxYCHwAFCVN4bi5j4buZdGRkZGQCCw8QDxYCHwAFC1N44bq/cG4uY2FvZGRkZAIbDxYCHgV2YWx1ZQUHUy544bq/cGQCHQ8WAh8CBQlQUkNoYW5nZWRkAgYPPCsACwIADxYKHghQYWdlU2l6ZQIyHghEYXRhS2V5cxYAHgtfIUl0ZW1Db3VudAICHhVfIURhdGFTb3VyY2VJdGVtQ291bnQCAh4JUGFnZUNvdW50AgFkARQrAAo8KwAEAQAWAh4KSGVhZGVyVGV4dAUKPGI+U1RUPC9iPjwrAAQBABYCHwhlPCsABAEAFgIfCAUGTcOjIE5WPCsABAEAFgIfCAUHVMOqbiBOVjwrAAQBABYCHwgFCUjhu40gdMOqbjwrAAQBABYCHwgFCsSQxqFuIHbhu4s8KwAEAQAWAh8IBQpQaMOybmcgYmFuPCsABAEAFgIfCAUKVOG7lSBuaMOzbTwrAAQBABYCHwgFC0No4bupYyBkYW5oPCsABAEAFgIfCAUGQ2jhu41uFgJmD2QWBAICDw9kFgQeC29ubW91c2VvdmVyBSpqYXZhc2NyaXB0OkRHX2NoYW5nZUJhY2tDb2xvcih0aGlzLCB0cnVlKTseCm9ubW91c2VvdXQFKmphdmFzY3JpcHQ6REdfY2hhbmdlQmFja0NvbG9yKHRoaXMsZmFsc2UpOxYSZg9kFgJmDxUBATFkAgEPDxYCHwAFDEhPMTA3MTIwMDExMmRkAgIPZBYCZg8VAgxITzEwNzEyMDAxMTIEMDAwMmQCAw8PFgIfAAUUVFLhuqZOIE1JTkggQ0jGr8agTkdkZAIEDw8WAh8ABQhDSMavxqBOR2RkAgUPDxYCHwAFDlBow7JuZyBz4buRIDEwZGQCBg8PFgIfAAUGJm5ic3A7ZGQCBw8PFgIfAAUGJm5ic3A7ZGQCCA8PFgIfAAUXQ2h1ecOqbiB2acOqbiBtdWEgaMOgbmdkZAIDDw9kFgQfCQUqamF2YXNjcmlwdDpER19jaGFuZ2VCYWNrQ29sb3IodGhpcywgdHJ1ZSk7HwoFKmphdmFzY3JpcHQ6REdfY2hhbmdlQmFja0NvbG9yKHRoaXMsZmFsc2UpOxYSZg9kFgJmDxUBATJkAgEPDxYCHwAFDEhPMjA3MTEwMDExNmRkAgIPZBYCZg8VAgxITzIwNzExMDAxMTYGTlYwMDMyZAIDDw8WAh8ABRJUcuG6p24gTmfhu41jIFBow7pkZAIEDw8WAh8ABQRQaMO6ZGQCBQ8PFgIfAAUOUGjDsm5nIHPhu5EgMTBkZAIGDw8WAh8ABQYmbmJzcDtkZAIHDw8WAh8ABQYmbmJzcDtkZAIIDw8WAh8ABQYmbmJzcDtkZAIHDw8WAh8ABQExZGQCCA8PFgIfAAUFMDAwMDVkZAIJDxAPFgQeB0NoZWNrZWRoHgdWaXNpYmxlZ2RkZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgYFM2N0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkdWN0cmxDb2x1bW5zJGNoa011bHRpU29ydAU3Y3RsMDAkQ29udGVudFBsYWNlSG9sZGVyMSR1Y3RybENvbHVtbnMkY2hrX0Fkdk11bHRpU29ydAUxY3RsMDAkQ29udGVudFBsYWNlSG9sZGVyMSRkdGdMaXN0JGN0bDAzJGNoa1NlbGVjdAUxY3RsMDAkQ29udGVudFBsYWNlSG9sZGVyMSRkdGdMaXN0JGN0bDA0JGNoa1NlbGVjdAU0Y3RsMDAkQ29udGVudFBsYWNlSG9sZGVyMSRkdGdMaXN0JGN0bDA1JGNoa1NlbGVjdEFsbAUSY3RsMDAkYnRuU2F2ZUFkbWlu">
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<script src="WebResource.axd" type="text/javascript"></script>


<script src="ScriptResource.axd" type="text/javascript"></script>
<script src="ScriptResource(1).axd" type="text/javascript"></script>
    <!-- ajax --------------->
        <script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ctl00$ScriptManager1', document.getElementById('aspnetForm'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls([], [], [], 90);
//]]>
</script>

        <div id="ctl00_UpdateProgress1" style="display:none;">
	  
                <div id="siteLoader"> 
                <div id="loadImg"> 
                    <img id="ctl00_imgLoad" src="ajax-loader.gif" style="border-width:0px;">
                </div> 
            </div> 
                
        
</div>
        <!-- end ajax --------------->

        <table cellpadding="0" cellspacing="0" width="100%" align="center">
              <tbody><tr>
                  <td><img src="table01_01.png" alt=""></td>
                  <td style="background: url(../images/table01_00.jpg) repeat-x top left" width="100%">
                  </td>
                  <td><img src="table01_03.png" alt=""></td>
              </tr>
              <tr>
                  <td style="background: url(../images/table01_04.png) repeat-y top left" valign="bottom">&nbsp;</td>
                  <td>
                            

<table id="Table1" cellspacing="0" cellpadding="0" width="98%" border="0">
	<tbody><tr>
		<td align="center"><span id="ctl00_ContentPlaceHolder1_lblErr" class="lblErr"></span></td>
	</tr>
	<tr>
		<td align="left">
            

<table id="Table1" cellspacing="0" cellpadding="1" width="100%" border="0">
    <tbody><tr>
	    <td width="7%"><span id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_Label7" class="label">Mã NV</span></td>
	    <td width="15%"><input name="ctl00$ContentPlaceHolder1$EmpHeaderSearch1$txtEmpID" type="text" id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_txtEmpID" class="InputHighlight" onkeypress="checkKey(alias+&#39;btnSearch&#39;,event)" style="width:95%;"></td>
	    <td width="8%" align="center"><span id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_Label2" class="label">Tên NV</span></td>
	    <td width="27%"><input name="ctl00$ContentPlaceHolder1$EmpHeaderSearch1$txtEmpName" type="text" id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_txtEmpName" class="InputHighlightSmall" onkeypress="checkKey(alias+&#39;btnSearch&#39;,event)" style="width:95%;"></td>
	    <td width="8%" align="right">
		    <span id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_Label10" class="label">Tình trạng</span>&nbsp;&nbsp;&nbsp;</td>
	    <td width="33%">
		    <table id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_optStatus" class="option" border="0" style="width:300px;">
	<tbody><tr>
		<td><input id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_optStatus_0" type="radio" name="ctl00$ContentPlaceHolder1$EmpHeaderSearch1$optStatus" value="1" checked="checked"><label for="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_optStatus_0">Đang làm</label></td><td><input id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_optStatus_1" type="radio" name="ctl00$ContentPlaceHolder1$EmpHeaderSearch1$optStatus" value="0"><label for="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_optStatus_1">Nghỉ việc</label></td><td><input id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_optStatus_2" type="radio" name="ctl00$ContentPlaceHolder1$EmpHeaderSearch1$optStatus" value=""><label for="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_optStatus_2">Tất cả</label></td>
	</tr>
</tbody></table>
        </td>
    </tr>
    <tr style="display:none;">
        <td colspan="6">
            <input name="ctl00$ContentPlaceHolder1$EmpHeaderSearch1$txtLSLevel1ID" type="text" value="GD" id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_txtLSLevel1ID">
            <input name="ctl00$ContentPlaceHolder1$EmpHeaderSearch1$txtLSLevel2ID" type="text" id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_txtLSLevel2ID">
             <input name="ctl00$ContentPlaceHolder1$EmpHeaderSearch1$txtLSLevel3ID" type="text" id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_txtLSLevel3ID">
              <input name="ctl00$ContentPlaceHolder1$EmpHeaderSearch1$txtLSCompanyID" type="text" value="HO1" id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_txtLSCompanyID">
              <input name="ctl00$ContentPlaceHolder1$EmpHeaderSearch1$txtDepartmentName" type="text" value="PM SAO VIỆT - PS10" id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_txtDepartmentName">
        </td>
    </tr>
    <tr id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_trStatus">
	<td colspan="6">
		    <div class="EmpListTextSearch">
                    <a href="javascript:ShowPopup("DepartmentTree.aspx");" id="A1" title="Click chon phong ban">
                        <img alt="Click chon phong ban" src="binary-tree-icon.png"></a>  
                    <a id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_btnDept" href="javascript:ShowPopup("../Common/DepartmentTree.aspx");">Chọn p.ban</a>
                       &nbsp;&nbsp;&nbsp;  
                    <span id="ctl00_ContentPlaceHolder1_EmpHeaderSearch1_lblDept" style="font-size: 14px;color: #515B65">PM SAO VIỆT - Phòng số 10</span>
                       </div>
                    <!--color: #515B65; font-weight: 700; -->

        </td>
</tr>

    <tr>
        <td colspan="6">  
        </td>
    </tr>
</tbody></table>
<script type="text/javascript" language="javascript">
    var alias = 'ctl00_ContentPlaceHolder1_';

    //var alias = 'ctl00_ContentPlaceHolder1_';
    //ctl00_ContentPlaceHolder1_btnSearch

    //    //set value for title bar
    //    parent.document.setBarEmpTitle(document.getElementById(alias + "EmpHeader_lblEmpName").innerHTML,
    //        document.getElementById(alias + "EmpHeader_lblOther").innerHTML);
    var strEmp = document.getElementById(alias + "EmpHeaderSearch1_txtEmpID").value;
    var strTemp = '';

    strTemp = document.getElementById(alias + "EmpHeaderSearch1_txtEmpName").value;
    if (strEmp != '' && strTemp != '')
        strEmp += ' - ' + strTemp;
    else if (strEmp == '')
        strEmp = strTemp;

    if (strEmp != '')
        strEmp = "(" + strEmp + ")";
    //"(" + + ")"
    if (parent.document.getElementById('lblMMYYYY') != null) {
        parent.document.getElementById('lblMMYYYY').innerHTML = strEmp;

        var strDept = document.getElementById(alias + "EmpHeaderSearch1_lblDept").innerHTML;
        if (strDept != '' && strEmp != '') strDept = ' - ' + strDept;

        parent.document.getElementById('lblEmpName').innerHTML = strDept;

        strTemp = rblSelectedValue();
        if (strDept != '' || strEmp != '') strTemp = ' - ' + strTemp;
        parent.document.getElementById('lblOther').innerHTML = strTemp;
        //alert(document.getElementById(alias + "EmpHeader_lblEmpName").innerHTML);
    }

    function rblSelectedValue() {
        var list = document.getElementById(alias + 'EmpHeaderSearch1_optStatus'); //Client ID of the radiolist
        var inputs = list.getElementsByTagName("input");
        var labels = list.getElementsByTagName("label");
        var selected;
        for (var i = 0; i < inputs.length; i++) {
            if (inputs[i].checked) {
                selected = labels[i]; // inputs[i];
                break;
            }
        }
        if (selected) {
            return selected.innerHTML;
        }
        else
            return "";

    }
    function ShowPopup(link) {
        window.open(link, "", "resizable: yes;dialogWidth: 750px;dialogHeight: 500px");
    }


    function ReturnPopUpHeaderSearch(strDeptName) {
        var CompanyID = getCookie("CompanyID");
        document.getElementById(alias + 'EmpHeaderSearch1_txtLSCompanyID').value = '';
        if (CompanyID != null) document.getElementById(alias + 'EmpHeaderSearch1_txtLSCompanyID').value = CompanyID;
        var Level1 = getCookie("Level1ID");
        document.getElementById(alias + 'EmpHeaderSearch1_txtLSLevel1ID').value = '';
        if (Level1 != null) document.getElementById(alias + 'EmpHeaderSearch1_txtLSLevel1ID').value = Level1;
        var Level2 = getCookie("Level2ID");
        document.getElementById(alias + 'EmpHeaderSearch1_txtLSLevel2ID').value = '';
        if (Level2 != null) document.getElementById(alias + 'EmpHeaderSearch1_txtLSLevel2ID').value = Level2;
        var Level3 = getCookie("Level3ID");
        document.getElementById(alias + 'EmpHeaderSearch1_txtLSLevel3ID').value = '';
        if (Level3 != null) document.getElementById(alias + 'EmpHeaderSearch1_txtLSLevel3ID').value = Level3;

        document.getElementById(alias + 'EmpHeaderSearch1_lblDept').innerHTML = strDeptName; // getCookie("DepartmentName");
        document.getElementById(alias + 'EmpHeaderSearch1_txtDepartmentName').value = strDeptName; // getCookie("DepartmentName");
        setCookie("DepartmentName", strDeptName);
        // location.reload(true);

        //goi buuton view de load lai gia tri theo phong ban moi chon
        //buuton view nam trong dang detail
        //        var object = document.getElementById(alias + 'btnAddScanTime');
        //        if (object != null) {
        //            LinkClick(object);
        //        }

        //trang chua ascx nay fai co funtion nay de goi lai nut xem neu muon
        //check neu trang chinh co funtion ReturnPopUp thi moi goi
        if (typeof ReturnPopUp == 'function') {
            ReturnPopUp();
        }
    }
   
</script>  

        </td>
	</tr>
	<tr>
		<td valign="top" align="center" height="5">



		</td>
	</tr>
	<tr>
		<td align="center">
           
			<table id="tblButton" cellspacing="0" cellpadding="0" width="99%" border="0">
				<tbody><tr valign="top" style=" height:30px;">
					<td align="center" width="*" colspan="2">
                    <span style=" margin-left:33%; float:left; height:1px; width:1px;"></span>


                     <div class="btnSave-bt" style=" float:left; width: 90px; margin-left:5px; margin-right:12px;">
                            <a id="ctl00_ContentPlaceHolder1_btnSearch" accesskey="S" title="Alt+S" class="btnSearch-icon" href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$btnSearch','')" style="display:inline-block;width:90px;">Tìm kiếm</a>
                     </div>

                      <div class="btnSave-bt" style=" float:left; width: 90px; margin-left:5px; margin-right:12px;">
                           <a onclick="return ShowExcelSelectPage();" id="ctl00_ContentPlaceHolder1_btnImport" accesskey="E" class="btnImport-icon" href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$btnImport','')" style="display:inline-block;width:90px;">Import</a>
                     </div>

                      <div class="btnSave-bt" style=" float:left; width: 90px; margin-left:5px; margin-right:12px;">
                            <a id="ctl00_ContentPlaceHolder1_btnExport" accesskey="E" title="Alt+E, Export data in grid to excel file" class="btnExport-icon" href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$btnExport','')" style="display:inline-block;width:90px;">Export</a>
                     </div>

                   
				    </td>
				</tr>
				<tr>
					<td id="tdPages" style=" padding-top: 8px;padding-bottom: 7px;" colspan="2">
                        <div style=" height:30px; width:100%; float:left;">
                            
    <table id="Table1" cellspacing="1" cellpadding="1" width="100%" border="0">
	    <tbody><tr>
		    <td width="37%" align="left">
			    <span id="ctl00_ContentPlaceHolder1_uctrlColumns_lblPageRows" class="label">Dòng/trang</span>
			    <input name="ctl00$ContentPlaceHolder1$uctrlColumns$tbPageRows" type="text" value="50" maxlength="4" id="ctl00_ContentPlaceHolder1_uctrlColumns_tbPageRows" tabindex="-1" class="input" onkeypress="PageRow_Enter()" style="width:40px;">
			    <span id="ctl00_ContentPlaceHolder1_uctrlColumns_lblTotalRows" class="label">Số hàng</span>
			    <span id="ctl00_ContentPlaceHolder1_uctrlColumns_lblTotalRow" class="labelData">2</span></td>
		    <td align="left" width="*" style="display:none">
			    <span class="label"><input id="ctl00_ContentPlaceHolder1_uctrlColumns_chkMultiSort" type="checkbox" name="ctl00$ContentPlaceHolder1$uctrlColumns$chkMultiSort" tabindex="-1"><label for="ctl00_ContentPlaceHolder1_uctrlColumns_chkMultiSort">Sxn.cột</label></span>
			    <span class="label"><input id="ctl00_ContentPlaceHolder1_uctrlColumns_chk_AdvMultiSort" type="checkbox" name="ctl00$ContentPlaceHolder1$uctrlColumns$chk_AdvMultiSort" tabindex="-1"><label for="ctl00_ContentPlaceHolder1_uctrlColumns_chk_AdvMultiSort">Sxếpn.cao</label></span></td>
		    <td id="tdColumns" width="40%" nowrap="" style="display: none;">
			    <select name="ctl00$ContentPlaceHolder1$uctrlColumns$DropDownList1" id="ctl00_ContentPlaceHolder1_uctrlColumns_DropDownList1" class="comboSort" onkeypress="Sort_Enter()" style="width:90px;">

</select>
			    <select name="ctl00$ContentPlaceHolder1$uctrlColumns$DropDownList2" id="ctl00_ContentPlaceHolder1_uctrlColumns_DropDownList2" class="comboSort" onkeypress="Sort_Enter()" style="height:14px;width:90px;">

</select>
			    <select name="ctl00$ContentPlaceHolder1$uctrlColumns$DropDownList3" id="ctl00_ContentPlaceHolder1_uctrlColumns_DropDownList3" class="comboSort" onkeypress="Sort_Enter()" style="height:14px;width:90px;">

</select></td>
           <td width="54%" style=" height:30px; float:right; ">
                 <div class="ContentSeachOnGrid" style=" height:30px; width:100%; float:left; ">
                    <div class="textSeach" style=" height:30px; width:100%; float:left; ">
                        <div style=" text-align:right;height:30px; width:38%; float:left;padding-top: 5px;">
                            <span>Tìm kiếm nhanh: </span>
                        </div>
                         <div style=" height:30px; width:60%; float:left;">
                            <input name="ctl00$ContentPlaceHolder1$uctrlColumns$txtEmpName" type="text" id="ctl00_ContentPlaceHolder1_uctrlColumns_txtEmpName" title="Tìm kiếm trên lưới" class="InputFloatRight" onkeyup="javascript:FilterEmpName(event)" style="width:90%;">
                        </div>    
           
                    </div>
                    <div class="Hidden" style="display:none;height:30px; width:auto; float:left;">
                        <input name="ctl00$ContentPlaceHolder1$uctrlColumns$txtGridUlTra" type="text" id="ctl00_ContentPlaceHolder1_uctrlColumns_txtGridUlTra" class="input" style="width:40px;">
                        <input name="ctl00$ContentPlaceHolder1$uctrlColumns$txtGrid" type="text" id="ctl00_ContentPlaceHolder1_uctrlColumns_txtGrid" class="input" style="width:40px;">
                        <input name="ctl00$ContentPlaceHolder1$uctrlColumns$txtListColumnSeach" type="text" id="ctl00_ContentPlaceHolder1_uctrlColumns_txtListColumnSeach" class="input" style="width:40px;">
                    </div>
                </div>
            </td>
	    </tr>
    </tbody></table>

<input name="ctl00$ContentPlaceHolder1$uctrlColumns$btnSort" type="button" id="ctl00_ContentPlaceHolder1_uctrlColumns_btnSort" value="S.xếp" style="DISPLAY:none">
<input onclick="__doPostBack(&#39;ctl00$ContentPlaceHolder1$uctrlColumns$btnPRChanged&#39;,&#39;&#39;)" name="ctl00$ContentPlaceHolder1$uctrlColumns$btnPRChanged" type="button" id="ctl00_ContentPlaceHolder1_uctrlColumns_btnPRChanged" value="PRChanged" style="DISPLAY:none">


<script language="javascript" type="text/javascript">
    function FilterEmpName(e) {
    
        //return;
        var strEmpName = "";
        var keynum = "";
        var keychar = "";
        var numcheck = /\d/;
        if (window.event) // IE
        {
            keynum = e.keyCode;
        }
        else if (e.which) // Netscape/Firefox/Opera
        {
            keynum = e.which;
        }
        keychar = String.fromCharCode(keynum);
        if (numcheck.test(keychar) == true) {
            ShowEmpsWithName("");
            return;
        }
        //Filter

        var txtEmpName = document.getElementById(alias + "uctrlColumns_txtEmpName");
        strEmpName = txtEmpName.value;
        ShowEmpsWithName(strEmpName);
    }

    function ShowEmpsWithName(strEmpName) {

        try {
            // code that might cause an error goes here  
            var GridName = "";
            var BeginIndex = 1;
            var EndIndexExt = 0;
            var arrListCLSeach = new Array();
            var strListCLSeach = "";
            if (strEmpName == "") {
                strEmpName = document.getElementById(alias + "uctrlColumns_txtEmpName").value;
            }
            //neu javacrip lay danh sach ten chua dc truyen vao 
            try {
                strListCLSeach = GetListCoulumnSeach();
            }
            catch (error) {
                strListCLSeach = "";
            }
            if (strListCLSeach == null || strListCLSeach == "") {
                strListCLSeach = "1,2"; //mac dinh neu chua dc chuyen
            }

            arrListCLSeach = strListCLSeach.split(',');
            //neu javacrip lay ten gird chua dc truyen vao
            try {
                strGridName = GetGridName();
            }
            catch (error) {
                strGridName = "";
            }
            if (strGridName == null || strGridName == "") {
                strGridName = "dtgList"; // gia tri mac dinh vi web cac luoi phan lon lay ten nay.
            }
            GridName = alias + strGridName;
            var theTable;

            var TypeGird = "";
            //kiem tra xem luoi gi
            try {
                theTable = document.getElementById(GridName);
                if (theTable.rows.length > 1) {
                    TypeGird = "GridBasic";
                }
            }
            catch (error) {
                TypeGird = "";
            }
            if (TypeGird == "") {
                try {
                    theTable = igtbl_getGridById(GridName);
                    if (theTable.Rows.length > 1) {
                        TypeGird = "UlTraGrid";
                    }
                }
                catch (error) {
                    TypeGird = "";
                }
            }
            //luoi thuong
            if (TypeGird == "GridBasic" && theTable.rows.length > 1) {
                HiddenAllRows("none", theTable, strEmpName); //hidden all records on grid

                var empName = "";
                strEmpName = strEmpName.toLowerCase();

                strEmpName = locdau(strEmpName);
                for (var i = BeginIndex; i < theTable.rows.length + EndIndexExt - 1; i++) {
                    empName = "";
                    for (var j = 0; j < arrListCLSeach.length; j++) {

                        empName = theTable.rows[i].cells[arrListCLSeach[j]].innerHTML;

                        if (empName == null) {
                            empName = "";
                        }
                        empName = empName.toLowerCase();
                        empName = locdau(empName);
                        if (empName.lastIndexOf(strEmpName) > -1) {
                            if (navigator.appName == 'Microsoft Internet Explorer') {
                                theTable.rows[i].style.display = "block";
                            }
                            else {
                                theTable.rows[i].style.display = "table-row";
                            }
                        }
                    }

                } //end for loop
            } //luuoi UlTra
            else if (TypeGird == "UlTraGrid" && theTable.Rows.length > 1) {
                HiddenAllRowsUlTra("none", theTable, strEmpName); //hidden all records on grid

                var empName = "";
                strEmpName = strEmpName.toLowerCase();
                strEmpName = locdau(strEmpName);

                var rows = theTable.Rows;
                var cell;
                var cellval;
                var row;
                if (rows != null) {
                    var len = rows.length;
                    for (var i = 0; i < rows.length; ++i) {
                        row = theTable.Rows.getRow(i);
                        if (row != null) {
                            for (var j = 0; j < arrListCLSeach.length; j++) {
                                cell = row.getCell(arrListCLSeach[j]);
                                cellval = cell.getValue();
                                if (cellval == null) {
                                    cellval = "";
                                }
                                cellval = locdau(cellval);

                                if (cellval.lastIndexOf(strEmpName) > -1) {
                                    if (navigator.appName == 'Microsoft Internet Explorer') {
                                        theTable.Rows.Element.children[i].style.display = "block";
                                    }
                                    else {
                                        theTable.Rows.Element.children[i].style.display = "table-row";
                                    }
                                }
                            }


                        }
                    }
                }
            }
            else {
                alert("Không hỗ trợ tìm kiếm trên lưới này hoặc dưới lưới chưa có dữ liệu.");
            }

        } catch (error) {
            alert("Xẩy ra lỗi khi tìm kiếm.");
        }
    }

    function HiddenAllRowsUlTra(activity, theTable, strEmpName) {
        activity = activity == "" ? "none" : activity;
        var BeginIndex = 0;
        var EndIndexExt = 0;
        if (theTable == null) return;
        if (theTable.Rows.length > 1) {
            for (var i = BeginIndex; i < theTable.Rows.length + EndIndexExt; i++) {
                theTable.Rows.Element.children[i].style.display = "none";
            }
        }
    }

    function HiddenAllRows(activity, theTable, strEmpName) {
        activity = activity == "" ? "none" : activity;
        var BeginIndex = 1;
        var EndIndexExt = 0;
        if (theTable == null) return;
        if (theTable.rows.length > 1) {
            for (var i = BeginIndex; i < theTable.rows.length + EndIndexExt - 1; i++) {
                theTable.rows[i].style.display = activity;
            }
        }
    }
    function locdau(str) {
        str = str.toLowerCase();
        str = str.replace(/à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ/g, "a");
        str = str.replace(/è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ/g, "e");
        str = str.replace(/ì|í|ị|ỉ|ĩ/g, "i");
        str = str.replace(/ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ/g, "o");
        str = str.replace(/ú|ù|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ/g, "u");
        str = str.replace(/ỳ|ý|ỵ|ỷ|ỹ/g, "y");
        str = str.replace(/đ/g, "d");
        str = str.replace(/!|@|%|\^|\*|\(|\)|\+|\=|\<|\>|\?|\/|,|\.|\:|\;|\'| |\"|\&|\#|\[|\]|~|$|_/g, "");
        /* tìm và thay thế các kí tự đặc biệt trong chuỗi sang kí tự - */
        str = str.replace(/-+-/g, ""); //thay thế 2- thành 1- 
        str = str.replace(/^\-+|\-+$/g, "");
        //cắt bỏ ký tự - ở đầu và cuối chuỗi  
        return str;
    }   
</script>

<script language="javascript" type="text/javascript">
    function MultiSort_CheckChanged() {

        var obj = document.getElementById('ctl01_uctrlColumns_chkMultiSort');
        if (obj != null) {
            if (obj.checked) {

                document.getElementById('ctl01_uctrlColumns_chk_AdvMultiSort').checked = false;
                document.getElementById('tdColumns').style.display = "none";
            }
        }
    }
    function AdMultiSort_CheckChanged() {
        var obj = document.getElementById('ctl01_uctrlColumns_chk_AdvMultiSort');
        if (obj != null) {
            if (obj.checked) {
                document.getElementById('ctl01_uctrlColumns_chkMultiSort').checked = false;
                document.getElementById('tdColumns').style.display = "";
            }
            else
                document.getElementById('tdColumns').style.display = "none";
        }
    }
    function Sort_Enter() {
        if (window.event.keyCode == 13) {
            var obj = document.getElementById('ctl01_uctrlColumns_btnSort');
            if (obj != null) {
                obj.click();
            }
        }
    }
    function PageRow_Enter() {
        if (window.event.keyCode == 13) {
            var obj = document.getElementById('ctl01_uctrlColumns_btnPRChanged');
            if (obj != null) {
                obj.click();
            }
        }
    }
</script>
<script language="javascript" type="text/javascript">
    var obj = document.getElementById('ctl01_uctrlColumns_chk_AdvMultiSort');
    if (obj != null) {
        var obj1 = document.getElementById('tdColumns');
        if (obj.checked) {
            if (obj1 != null)
                obj1.style.display = "";
        }
        else {
            if (obj1 != null)
                obj1.style.display = "none";
        }
    } else
        document.getElementById('tdColumns').style.display = "none";
</script>

                        </div>
                    </td>
				</tr>
			</tbody></table>
		</td>
	</tr>
	<!-- end button for input form -->
	<tr>
		<td align="center"><!-- start grid for input form -->
			<table id="tblGrid" cellspacing="0" cellpadding="1" width="99%" border="0">
				<tbody><tr id="trGrid" align="center"> <!-- start grid detail for input form MouseOverCssClass="gridhover"-->
					<td><table class="grid" cellspacing="0" cellpadding="0" rules="all" border="1" id="ctl00_ContentPlaceHolder1_dtgList" style="border-width:1px;border-style:solid;width:100%;border-collapse:collapse;">
	<tbody><tr class="TaskGrid_Head" align="center">
		<td style="width:5%;"><b>STT</b></td><td style="width:5%;"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$dtgList$ctl02$ctl00','')">Mã NV</a></td><td style="width:23%;"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$dtgList$ctl02$ctl01','')">Tên NV</a></td><td style="width:15%;"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$dtgList$ctl02$ctl03','')">Đơn vị</a></td><td style="width:15%;"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$dtgList$ctl02$ctl04','')">Phòng ban</a></td><td style="width:15%;"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$dtgList$ctl02$ctl05','')">Tổ nhóm</a></td><td style="width:14%;"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$dtgList$ctl02$ctl06','')">Chức danh</a></td>
	</tr><tr class="gridItem" onmouseover="javascript:DG_changeBackColor(this, true);" onmouseout="javascript:DG_changeBackColor(this,false);" style="">
		<td align="center">
										1
									</td><td align="center">
                                        <a href="http://cncsaoviet.dyndns.info/PMNhanSu/Human/EmpList.aspx?notleft=true&FunctionID=14#" onclick="CallShowMenu(&quot;HO1071200112&quot;)">0002</a>
									</td><td align="left">TRẦN MINH CHƯƠNG</td><td align="left">Phòng số 10</td><td align="left">&nbsp;</td><td align="left">&nbsp;</td><td align="left">Chuyên viên mua hàng</td>
	</tr><tr class="gridAlter" onmouseover="javascript:DG_changeBackColor(this, true);" onmouseout="javascript:DG_changeBackColor(this,false);" style="">
		<td align="center">
										2
									</td><td align="center">
                                        <a href="http://cncsaoviet.dyndns.info/PMNhanSu/Human/EmpList.aspx?notleft=true&FunctionID=14#" onclick="CallShowMenu(&quot;HO2071100116&quot;)">NV0032</a>
									</td><td align="left">Trần Ngọc Phú</td><td align="left">Phòng số 10</td><td align="left">&nbsp;</td><td align="left">&nbsp;</td><td align="left">&nbsp;</td>
	</tr><tr class="gridPage" align="right">
		<td colspan="7"><span>1</span></td>
	</tr>
</tbody></table>
                        <br>
                    </td>
				</tr>
			</tbody></table>
		</td>
	</tr>
</tbody></table>
<script language="javascript" type="text/javascript">
    //var alias = 'ctl00_ContentPlaceHolder1_';
    var alias = 'ctl00_ContentPlaceHolder1_';

    function ShowPopup(link) {
        window.open(link, "", "resizable: yes;dialogWidth: 750px;dialogHeight: 500px");
    }
    //truyn vao ten colum khi tim kiem
    function GetListCoulumnSeach() {
        return "1,2";
    }
    //truyen vao ten grid khi tim kiem
    function GetGridName() {
        return "dtgList";
    }
    function ReturnPopUp() {
        //goi nut search
        LinkClick(document.getElementById(alias + 'btnSearch'));
    }

    //    function ReturnPopUp() {
    //        document.getElementById(alias + 'txtDepartmentName').value = getCookie("DepartmentName");
    //        var object = document.getElementById(alias + 'btnSearch');
    //        LinkClick(object);      

    //        //alert(parent.document.getElementById('lblPageTitle').innerHTML);
    //    }

    function OpenBuildCode() {
        window.open('FormPage.aspx?ModuleID=HR&ParentID=8&FunctionID=204&Ascx=MdlHR/BuildEmpCode.ascx&action=addnew&empid=', 'BuildCode', 'width=320,height=120,left=300,top=200,dependent');
        return false;
    }
    function ShowExcelSelectPage() {

        var DateImport = new Date();
        var MonthTemp = DateImport.getMonth();
        var Month = MonthTemp + 1;
        var Year = DateImport.getFullYear();
        window.open('../Import/Import.aspx?tpl=HR_TTNVien.xls&Store=HR_spfrmImportEmp&Act=Import&Field1=Seq&Field2=EmpCode&Field3=VLastName', 'SelectFile', 'status=1,toolbar=0,scrollbars=1,resizable=1,alwaysRaised=Yes, top=20, left=30, width=800, height=600,1 ,align=center');
        return false;
    }
    //<a id="ctl00_ContentPlaceHolder1_hpLink" class="Hlink" href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$hpLink','')" style="display:inline-block;width:95%;">00005</a>
    //<a href="#" onclick='CallShowMenu("")'></a>
    //khi goi javascript thi bi cach ko load lai trang => ko lay dc nv moi
    //OpenLink("DefaultEmp.aspx", "TimeSheet/ScanTimeEdit.aspx?notleft=true", "Include/LeftTop.aspx?FunctionID=504&ModuleID=TMS&ParentID=10", "CHỈNH SỬA THÔNG TIN QUÉT THẺ", "504")

    function CallShowMenu(strEmpID) {

        setCookie("EmpID", strEmpID);
        var defultMenuID = '19'; //ho so ca nhan

        var strFunctionID = getCookie('CurFunctionID');
        if (strFunctionID == null) strFunctionID = defultMenuID;

        //        alert(parent.document.getElementById(strFunctionID).getAttribute("onclick"));
        //        alert(getCookie('CurFunctionID'));
        //<a id="19" onclick='OpenLink("DefaultEmp.aspx","Human/Personal.aspx","Include/LeftTop.aspx?FunctionID=19&ModuleID=HR&ParentID=8","LÝ LỊCH CÁ NHÂN","19")'  href='#'>
        //neu la nhung trang ko dang danh sach ko fai la trang theo tung nhan vien thi gan cho ascx co tham so: &EmpPage=False
        //      ascx='TimeSheet/ScanTimeEdit.aspx?notleft=true&EmpPage=false'
        // => <a id="504" onclick='OpenLink("DefaultEmp.aspx","TimeSheet/ScanTimeEdit.aspx?notleft=true&EmpPage=false","Include/LeftTop.aspx?FunctionID=504&ModuleID=TMS&ParentID=10","CHỈNH SỬA THÔNG TIN QUÉT THẺ","504")
        //  thi se ko tu dong chuyen den trang do ma ve trang mac dinh

        if (parent.document.getElementById(strFunctionID) != null) {
            if (parent.document.getElementById(strFunctionID).getAttribute("onclick") != null) {
                var menuLinkonclick = parent.document.getElementById(strFunctionID).getAttribute("onclick");
                if (menuLinkonclick.toString().toLowerCase().indexOf("emppage=false") != -1)
                    strFunctionID = defultMenuID; //ho so ca nhan
            }
        }

        //neu la danh sach nhan vien => trang mac dinh
        if (strFunctionID == '14') strFunctionID = defultMenuID; //ds nv
        var menuLink = parent.document.getElementById(strFunctionID);
        //        alert('empid: ' + strEmpID + 'functionid: ' + strFunctionID);
        ShowMenu(strFunctionID);

        return false;
    }

</script>

<script language="javascript" type="text/javascript">
<!--
    var lastColor;
    function DG_changeBackColor(row, highlight) {
        if (highlight) {
            row.style.cursor = "hand";
            lastColor = row.style.backgroundColor;
            row.style.backgroundColor = '#87cefa';
        }
        else
            row.style.backgroundColor = lastColor;
    }
//-->
</script>


                        <!--End table body--> 
                       </td>
                  <td style="background: url(../images/table01_05.png) repeat-y top right" valign="bottom">&nbsp;</td>
              </tr>
              <tr>
                  <td><img src="table01_06.png" alt=""></td>
                  <td style="background: url(../images/table01_007.jpg) repeat-x top left" width="100%">
                    </td>
                  <td><img src="table01_08.png" alt=""></td>
              </tr>
              <tr>
                <td>
                    <a id="ctl00_btnLanguageUpdate" title="Set language" href="javascript:__doPostBack('ctl00$btnLanguageUpdate','')">&nbsp;</a>
                </td>
                <td>
                    <span class="checkbox" title="Admin Preview show/hide control"><input id="ctl00_btnSaveAdmin" type="checkbox" name="ctl00$btnSaveAdmin" onclick="javascript:setTimeout(&#39;__doPostBack(\&#39;ctl00$btnSaveAdmin\&#39;,\&#39;\&#39;)&#39;, 0)"></span>
                </td>
                <td>
                    <a id="ctl00_btnLanguageGet" title="Get language" href="javascript:__doPostBack('ctl00$btnLanguageGet','')">&nbsp;</a>
                </td>
              </tr>
        </tbody></table><!--End table-->
    

<script type="text/javascript">
//<![CDATA[
Sys.Application.initialize();
Sys.Application.add_init(function() {
    $create(Sys.UI._UpdateProgress, {"associatedUpdatePanelId":null,"displayAfter":500,"dynamicLayout":true}, null, null, $get("ctl00_UpdateProgress1"));
});
//]]>
</script>
</form>


</body></html>